Verified compilation of Quantum oracles
نویسندگان
چکیده
Quantum algorithms often apply classical operations, such as arithmetic or predicate checks, over a quantum superposition of data; these so-called oracles are the largest components program. To ease construction efficient, correct oracle functions, this paper presents VQO, high-assurance framework implemented with Coq proof assistant. The core VQO is OQASM, assembly language. OQASM operations move qubits between two different bases via Fourier transform, thus admitting important optimizations, but without inducing entanglement and exponential blowup that comes it. OQASM’s design enabled us to prove VQO’s compilers—from simple imperative language called OQIMP from SQIR, general-purpose language—and allowed efficiently test properties programs using QuickChick property-based testing framework. We have used implement variety geometric operators building blocks for oracles, including those in Shor’s Grover’s algorithms. found QFT-based require fewer qubits, sometimes substantially fewer, than constructed “classical” gates; versions latter were nevertheless on par better (in terms both qubit gate counts) produced by Quipper, state-of-the-art unverified programming platform.
منابع مشابه
Verified Compilation of Space-Efficient Reversible Circuits
The generation of reversible circuits from high-level code is in important problem in several application domains, including low-power electronics and quantum computing. Existing tools compile and optimize reversible circuits for various metrics, such as the overall circuit size or the total amount of space required to implement a given function reversibly. However, little effort has been spent...
متن کاملVerified Compilation for Shared-Memory C
We present a new architecture for specifying and proving optimizing compilers in the presence of shared-memory interactions such as buffer-based system calls, shared-memory concurrency, and separate compilation. The architecture, which is implemented in the context of CompCert, includes a novel interaction-oriented model for C-like languages, and a new proof technique, called logical simulation...
متن کاملVerified bytecode verification and type-certifying compilation
This article presents a type certifying compiler for a subset of Java and proves the type correctness of the bytecode it generates in the proof assistant Isabelle. The proof is performed by defining a type compiler that emits a type certificate and by showing a correspondence between bytecode and the certificate which entails welltyping. The basis for this work is an extensive formalization of ...
متن کاملCrellvm: Verified Credible Compilation for LLVM
Production compilers such as GCC and LLVM are large complex software systems, for which achieving a high level of reliability is hard. Although testing is an effective method for finding bugs, it alone cannot guarantee a high level of reliability. To provide a higher level of reliability, many approaches that examine compilers’ internal logics have been proposed. However, none of them have been...
متن کاملQuantum Identification of Boolean Oracles
The oracle identification problem (OIP) is, given a set S of M Boolean oracles out of 2 ones, to determine which oracle in S is the current black-box oracle. We can exploit the information that candidates of the current oracle is restricted to S. The OIP contains several concrete problems such as the original Grover search and the Bernstein-Vazirani problem. Our interest is in the quantum query...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
ژورنال
عنوان ژورنال: Proceedings of the ACM on programming languages
سال: 2022
ISSN: ['2475-1421']
DOI: https://doi.org/10.1145/3563309